﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using AutoMapper;
using FwProject.ShoppingMall.Shop;

namespace FwProject.Shop.Dto
{
    [AutoMap(typeof(ShopType))]
    public class AppShopTypeDto : EntityDto<Guid>
    {
        /// <summary>
        /// 户级编号
        /// </summary>
        [Display(Name = "户级编号")]
        public Guid? Parentid { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        [Display(Name = "分类名称")]
        public string TypeName { get; set; }
        /// <summary>
        /// 产品分类id
        /// </summary>
        [Display(Name = "产品分类编号")]
        public Guid ProductTypeid { get; set; }
        /// <summary>
        /// 分类图片
        /// </summary>
        [Display(Name = "分类图片")]
        public string Piclogo { get; set; }

        public bool Isactive { get; set; } = true;
        /// <summary>
        /// 排序
        /// </summary>
        [Display(Name = "排序")]
        public int Orders { get; set; }
        [Display(Name = "二级分类")]
        [IgnoreMap]
        public List<AppShopTypeDto> ChildAppShopTypeDto { get; set; }

    }
}
